import request from "../../utils/request";
import API from "../api";
import { newGoodsDataType } from './type.ts'

export const reqNewGoods = () => request.get<any, newGoodsDataType>(API.NEWGOODS)

export const reqRecommendGoods = () => request.get<any, newGoodsDataType>(API.RECOMMENDGOODS)

export const reqHotBrandGoods = () => request.get<any, newGoodsDataType>(API.HOTBRAND + '?limit=4')